package com.lrm.biz;

import com.lrm.pojo.Type;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


/**
 * @Author: 王金海
 * @Description:
 * @Date: Created by Administrator on 2017/11/30.
 * @Modified By:
 */
public interface ITypeBiz {
    Type saveType(Type type);
    Type getType(Long id);
    Page<Type> pagelistType(Pageable pageable);
    List<Type> listType(Integer size);
    Type upadtaType(Long id,Type type);
    Boolean delType(Long id);
    Type findByname(String name);
}
